from ftllibs.items.itemtools import ItemIconData

class Item_1042():
    def __init__(self):
        self.parent=False
        self.Name="Dagger"
        self.IconFileName="1042.png"
        self.ID=1042
        self.Stack=0
        self.MaxStack=0
        self.Built_From=[]
        self.Builds_Into=['3006','3050','3086','3101','3114','3172','3046']
        self.Tags=['attack_speed']
        self.Costs = 420
        self.Total_Costs = 420
        self.Description="+15% Attack Speed"
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=False
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Attack_Speed_Percentage += 15.0
        # above is %
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass

